package com.jacky.ws.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "websocket")
public class SocketIOProperties {

    private String hostname;
    private Integer port;
    private Integer maxFramePayloadLength;
    private Integer maxHttpContentLength;
    private Integer bossThreads;
    private Integer workerThreads;
    private Boolean allowCustomRequests;
    private Integer upgradeTimeout;
    private Integer pingTimeout;
    private Integer pingInterval;
    private String[] namespaces;
}
